﻿<Window x:Class="AutoLoL.Dialogs.ImportDefaultItemDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:AutoLoL.Controls"
        Title="Import Default Items"
        Height="232"
        Width="405"
        Icon="/Icon.ico"
        ResizeMode="NoResize"
        WindowStartupLocation="CenterOwner">
    <DockPanel LastChildFill="True" Margin="10">
        <Grid DockPanel.Dock="Bottom" Margin="0 10 0 0">
            <StackPanel Orientation="Horizontal" Name="LoadingStackPanel" Visibility="Hidden">
                <controls:LoadingControl Width="20" HorizontalAlignment="Left" />
                <TextBlock Text="Loading..." VerticalAlignment="Bottom" Margin="5 0 0 0" />
            </StackPanel>
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
                <Button Name="ImportButton" Content="Import" Width="75" Height="23" Click="ImportButton_Click" />
                <Button Name="CancelButton" Content="Cancel" Height="23" Width="75" Margin="10 0 0 0" Click="CancelButton_Click" />
            </StackPanel>
        </Grid>
        <Grid Height="111">
            <Grid.RowDefinitions>
                <RowDefinition Height="43" />
                <RowDefinition Height="42*" />
                <RowDefinition Height="29" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="90" />
                <ColumnDefinition Width="272" />
            </Grid.ColumnDefinitions>

            <TextBlock Text="Items:" VerticalAlignment="Center" Grid.Row="0" Grid.Column="0" />
            <StackPanel Margin="3,0,5,4" Orientation="Horizontal" Grid.Column="1" VerticalAlignment="Bottom">
                <Border BorderBrush="DimGray" BorderThickness="1">
                    <Grid Background="Transparent" Cursor="Hand" Name="Item1Grid">
                        <Image Height="32" Source="{Binding IconBitmapImage}" Width="32" />
                    </Grid>
                </Border>
                <Border BorderBrush="DimGray" BorderThickness="1" Margin="5 0 0 0">
                    <Grid Background="Transparent" Cursor="Hand" Name="Item2Grid">
                        <Image Height="32" Source="{Binding IconBitmapImage}" Width="32" />
                    </Grid>
                </Border>
                <Border BorderBrush="DimGray" BorderThickness="1" Margin="5 0 0 0">
                    <Grid Background="Transparent" Cursor="Hand" Name="Item3Grid">
                        <Image Height="32" Source="{Binding IconBitmapImage}" Width="32" />
                    </Grid>
                </Border>
                <Border BorderBrush="DimGray" BorderThickness="1" Margin="5 0 0 0">
                    <Grid Background="Transparent" Cursor="Hand" Name="Item4Grid">
                        <Image Height="32" Source="{Binding IconBitmapImage}" Width="32" />
                    </Grid>
                </Border>
                <Border BorderBrush="DimGray" BorderThickness="1" Margin="5 0 0 0">
                    <Grid Background="Transparent" Cursor="Hand" Name="Item5Grid">
                        <Image Height="32" Source="{Binding IconBitmapImage}" Width="32" />
                    </Grid>
                </Border>
                <Border BorderBrush="DimGray" BorderThickness="1" Margin="5 0 0 0">
                    <Grid Background="Transparent" Cursor="Hand" Name="Item6Grid">
                        <Image Height="32" Source="{Binding IconBitmapImage}" Width="32" />
                    </Grid>
                </Border>
            </StackPanel>
            <TextBlock Margin="0,4,0,6" Text="Game Type:" VerticalAlignment="Center" Grid.Row="1" Height="29" />
            <ComboBox Margin="0,4,0,6" Name="GameTypeComboBox" SelectedIndex="0" Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" Width="180" SelectionChanged="GameTypeComboBox_SelectionChanged">
            </ComboBox>
            <ComboBox HorizontalAlignment="Left" Name="SetNameCombobox" SelectedIndex="0" Width="180" Grid.Column="1" Grid.Row="2" SelectionChanged="SetNameCombobox_SelectionChanged" >
            </ComboBox>
            <TextBlock Height="29" Text="Set Name:" VerticalAlignment="Center" Grid.Row="2" />
        </Grid>
    </DockPanel>
</Window>
